package com.train.service;

import com.train.dao.DaoUser;
import com.train.pojo.User;

public class UserServiceImpI implements UserService{
    private DaoUser daoUser=new DaoUser();
    @Override
    public User login(String username) throws ClassNotFoundException {
        //返回的是一个user对象
        return daoUser.getJdbcMysql(username);
    }
}
